<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "etc_seller_tiktok_user".
 *
 * @property int $id
 * @property int|null $user_id sys_adminuser.id用户id
 * @property int|null $store_id 店铺id
 * @property string $create_at 创建时间
 */
class EtcSellerTiktokUser extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'etc_seller_tiktok_user';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['user_id', 'store_id'], 'integer'],
            [['create_at'], 'safe'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => Yii::t('app', 'ID'),
            'user_id' => Yii::t('app', 'sys_adminuser.id用户id'),
            'store_id' => Yii::t('app', '店铺id'),
            'create_at' => Yii::t('app', '创建时间'),
        ];
    }
}
